package net.mingsoft.flk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 弗兰克加密内容
 * </p>
 *
 * @author 作者
 * @since 2023-03-10
 */
@Data
@Accessors(chain = true)
@TableName("flk_encryption")
@ApiModel(value = "FlkEncryption对象", description = "弗兰克加密内容")
public class FlkEncryption implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("类型-1.用户 2.角色 3.日志")
    @TableField("type")
    private Integer type;

    @ApiModelProperty("业务id")
    @TableField("business_id")
    private String businessId;

    @ApiModelProperty("加密内容")
    @TableField("encryption_key")
    private String encryptionKey;


    @ApiModelProperty("是否提醒过 0-未提醒 -1已提醒")
    @TableField("remind")
    private Integer remind;


}
